﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.wdx
{
    /// <summary>
    /// 指标定义表
    /// </summary>
    [SugarTable("IndexDefine")]
    public class IndexDefine : Audit
    {
        /// <summary>
        ///  主键 ，指标定义表唯一标识
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int IndexDefine_Id { get; set; }

        /// <summary>
        /// 指标定义名称
        /// </summary>
        public string IndexDefine_Name { get; set; }

        /// <summary>
        /// 指标定义编码
        /// </summary>
        public long IndexDefine_Code { get; set; }

        /// <summary>
        /// 指标分类id(外键)
        /// </summary>
        public int IndexClass_Id { get; set; }
    }
}
